getActivity

Return the FragmentActivity this fragment is currently associated with. May return null if the fragment is associated with a Context instead.

See also